--[[ proto_93_monster.hrl ]]--

slg_cmd.monster = {
	["flag"] 			= {93000, "s2c_monster_flag"},		-- 是否可以进入
	["enter"] 			= {93001, "s2c_monster_enter"},		-- 进入
	["hunt"] 			= {93002, "s2c_monster_hunt"},		-- 狩猎
	["leave"] 			= {93003, "s2c_monster_leave"},		-- 离开
	["exchange"] 		= {93004, "s2c_monster_exchange"},	-- 兑换
	["debug"] 			= {93005, "s2c_monster_debug"},		-- 调试信息
}

---------------------------------------------------------

slg_protocol["c2s_monster_flag"] = {
}

slg_protocol["s2c_monster_flag"] = {
[1] = {name = "flag", type = "", unit = 1},
}

slg_protocol["c2s_monster_enter"] = {
}

slg_protocol["s2c_monster_enter"] = {
[1] = {name = "ret_code", type = "", unit = 1},
[2] = {name = "start", type = "", unit = 1},
[3] = {name = "finish", type = "", unit = 1},
}

slg_protocol["c2s_monster_hunt"] = {
[1] = {name = "count", type = "", unit = 1},
}

slg_protocol["proto_monster_reward_info"] = {
[1] = {name = "itemId", type = "", unit = 1},
[2] = {name = "itemNum", type = "", unit = 1},
}

slg_protocol["s2c_monster_hunt"] = {
[1] = {name = "ret_code", type = "", unit = 1},
[2] = {name = "rewardList", type = "proto_monster_reward_info", unit = 2},
}

slg_protocol["c2s_monster_leave"] = {
}

slg_protocol["s2c_monster_leave"] = {
[1] = {name = "ret_code", type = "", unit = 1},
}

slg_protocol["c2s_monster_exchange"] = {
[1] = {name = "exchange_id", type = "", unit = 1},
[2] = {name = "num", type = "", unit = 1},
}

slg_protocol["s2c_monster_exchange"] = {
[1] = {name = "ret_code", type = "", unit = 1},
[2] = {name = "reward", type = "proto_monster_reward_info", unit = 2},
}

slg_protocol["s2c_monster_debug"] = {
[1] = {name = "msg", type = "", unit = 1},
}
